package com.jtframework.datasource.mysql;


public class MysqlUpdateParam extends MysqlQuery {


    public MysqlUpdateParam(String column, Object value, MysqlSymbol symbol) {
        super(column, value,symbol);
    }

    public static MysqlUpdateParam is(String key, String value) {
        MysqlUpdateParam query = new MysqlUpdateParam(key, value, MysqlSymbol.IS);
        return query;
    }


    public static MysqlUpdateParam incr(String key, String value) {
        MysqlUpdateParam query = new MysqlUpdateParam(key, value, MysqlSymbol.INCR);
        return query;
    }

    public static MysqlUpdateParam decr(String key, String value) {
        MysqlUpdateParam query = new MysqlUpdateParam(key, value, MysqlSymbol.DECR);
        return query;
    }

}
